import java.util.*;

public class RandomX {
    public static void main(String[] args) {
        // randomly generate a number from 2 - 10 for the num of lines
        int numLines = (int) (Math.random() * 9) + 2;
        for (int i = 1; i <= numLines; i++) {
            // randomly generate a number for the x's on each line (5 - 20)
            int numX = (int) (Math.random() * 16) + 5;
            for (int j = 1; j <= numX; j++) {
                System.out.print("x");
            }
            System.out.println();
        }
    }
}